Terminals unused in grammar

    "else"
    "goto"
    "if"
    "int"
    "return"
    "void"
    "+"
    "-"
    "*"
    "/"
    "<"
    "<="
    ">"
    ">="
    "=="
    "!="
    "!"
    "="
    ";"
    ","
    "("
    ")"
    "["
    "]"
    "{"
    "}"
    "identifier"
    "number"


Grammar

    0 $accept: program $end

    1 program: %empty


Terminals, with rules where they appear

    $end (0) 0
    error (256)
    "else" (258)
    "goto" (259)
    "if" (260)
    "int" (261)
    "return" (262)
    "void" (263)
    "+" (264)
    "-" (265)
    "*" (266)
    "/" (267)
    "<" (268)
    "<=" (269)
    ">" (270)
    ">=" (271)
    "==" (272)
    "!=" (273)
    "!" (274)
    "=" (275)
    ";" (276)
    "," (277)
    "(" (278)
    ")" (279)
    "[" (280)
    "]" (281)
    "{" (282)
    "}" (283)
    "identifier" (284)
    "number" (285)


Nonterminals, with rules where they appear

    $accept (31)
        on left: 0
    program (32)
        on left: 1
        on right: 0


State 0

    0 $accept: • program $end

    $default  reduce using rule 1 (program)

    program  go to state 1


State 1

    0 $accept: program • $end

    $end  shift, and go to state 2


State 2

    0 $accept: program $end •

    $default  accept
